summaryrefslogtreecommitdiff
path: root/Tools/Scripts/webkitpy/common/newstringio_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/webkitpy/common/newstringio_unittest.py')
-rw-r--r--Tools/Scripts/webkitpy/common/newstringio_unittest.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tools/Scripts/webkitpy/common/newstringio_unittest.py b/Tools/Scripts/webkitpy/common/newstringio_unittest.py
index 1ee2fb91f..670472204 100644
--- a/Tools/Scripts/webkitpy/common/newstringio_unittest.py
+++ b/Tools/Scripts/webkitpy/common/newstringio_unittest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Copyright (C) 2010 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -29,7 +28,7 @@
"""Unit tests for newstringio module."""
-import unittest
+import unittest2 as unittest
import newstringio
@@ -39,6 +38,3 @@ class NewStringIOTest(unittest.TestCase):
with newstringio.StringIO("foo") as f:
contents = f.read()
self.assertEqual(contents, "foo")
-
-if __name__ == '__main__':
- unittest.main()