Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make ioloop test runnable on unix (chmod +x and add #! line), and remove

hard-coded PYTHONPATH manipulations.  Add a small readme for tests.
  • Loading branch information...
commit 064cc4693d2bec86a6fc2eec84c90aa097b6bbfb 1 parent 3e1d57b
Ben Darnell authored
Showing with 6 additions and 4 deletions.
  1. +4 −0 tornado/test/README
  2. +2 −4 tornado/test/test_ioloop.py
4 tornado/test/README
View
@@ -0,0 +1,4 @@
+Test coverage is almost non-existent, but it's a start. Be sure to
+set PYTHONPATH apprioriately (generally to the root directory of your
+tornado checkout) when running tests to make sure you're getting the
+version of the tornado package that you expect.
6 tornado/test/test_ioloop.py 100644 → 100755
View
@@ -1,11 +1,9 @@
-# So we can run this file standalone from the test directory
-import sys
-sys.path.insert(0, '..')
+#!/usr/bin/env python
import unittest
import time
-import ioloop
+from tornado import ioloop
class TestIOLoop(unittest.TestCase):
Please sign in to comment.
Something went wrong with that request. Please try again.