mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Fix for running unit tests on Python 2.6.
This commit is contained in:
@@ -12,6 +12,8 @@ import tempfile
|
||||
import time
|
||||
import urlparse
|
||||
import unittest
|
||||
if not hasattr(unittest, 'skipIf'):
|
||||
import unittest2 as unittest
|
||||
|
||||
# Django
|
||||
import django
|
||||
|
||||
Reference in New Issue
Block a user