mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
tests: Drop compatibility with python 2 from TAP test runner
This commit is contained in:
parent
af39a37312
commit
3b7f7a4ed9
@ -28,10 +28,7 @@
|
||||
import unittest
|
||||
import sys
|
||||
import base64
|
||||
if sys.hexversion >= 0x03000000:
|
||||
from io import StringIO
|
||||
else:
|
||||
from StringIO import StringIO
|
||||
from io import StringIO
|
||||
|
||||
# Log modes
|
||||
class LogMode(object) :
|
||||
|
Loading…
Reference in New Issue
Block a user