mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Fix for running unit tests on Python 2.6.
This commit is contained in:
parent
28e7fda956
commit
a0fdf62e70
@ -12,6 +12,8 @@ import tempfile
|
||||
import time
|
||||
import urlparse
|
||||
import unittest
|
||||
if not hasattr(unittest, 'skipIf'):
|
||||
import unittest2 as unittest
|
||||
|
||||
# Django
|
||||
import django
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user