summaryrefslogtreecommitdiff
blob: 480362647717be178c5924185df8c1a2dd0e7f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tornado/test/options_test.py b/tornado/test/options_test.py
index f7b215c..c050cb6 100644
--- a/tornado/test/options_test.py
+++ b/tornado/test/options_test.py
@@ -36,7 +36,7 @@ class OptionsTest(unittest.TestCase):
         options.define("port", default=80)
         options.define("username", default='foo')
         options.define("my_path")
-        config_path = os.path.join(os.path.dirname(__file__),
+        config_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),
                                    "options_test.cfg")
         options.parse_config_file(config_path)
         self.assertEqual(options.port, 443)