Python 3 - pathod.language.base
diff --git a/.travis.yml b/.travis.yml
index bdfb465504..5f065d536d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,9 +22,9 @@ matrix:
       git:
         depth: 9999999
     - python: 3.5
-      env: SCOPE="netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py"
+      env: SCOPE="netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py"
     - python: 3.5
-      env: SCOPE="netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py" NO_ALPN=1
+      env: SCOPE="netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py" NO_ALPN=1
     - python: 2.7
       env: DOCS=1
       script: 'cd docs && make html'
diff --git a/pathod/language/base.py b/pathod/language/base.py
index 11ee06239a..1369a3c797 100644
--- a/pathod/language/base.py
+++ b/pathod/language/base.py
@@ -226,7 +226,7 @@ def get_generator(self, settings):
         return generators.FileGenerator(s)
 
     def spec(self):
-        return "<'%s'" % strutils.bytes_to_escaped_str(self.path)
+        return "<'%s'" % self.path
 
 
 TokValue = pp.MatchFirst(
diff --git a/test/pathod/test_language_base.py b/test/pathod/test_language_base.py
index 47e51bb07b..075dc2b824 100644
--- a/test/pathod/test_language_base.py
+++ b/test/pathod/test_language_base.py
@@ -38,7 +38,7 @@ def test_spec(self):
 
 class TestTokValueLiteral:
 
-    def test_espr(self):
+    def test_expr(self):
         v = base.TokValueLiteral("foo")
         assert v.expr()
         assert v.val == b"foo"
@@ -132,7 +132,7 @@ def test_access_control(self):
         with tutils.tmpdir() as t:
             p = os.path.join(t, "path")
             with open(p, "wb") as f:
-                f.write("x" * 10000)
+                f.write(b"x" * 10000)
 
             assert v.get_generator(language.Settings(staticdir=t))
 
@@ -207,13 +207,13 @@ class TT(base.FixedLengthValue):
             p = os.path.join(t, "path")
             s = base.Settings(staticdir=t)
             with open(p, "wb") as f:
-                f.write("a" * 20)
+                f.write(b"a" * 20)
             v = e.parseString("m<path")[0]
             tutils.raises("invalid value length", v.values, s)
 
             p = os.path.join(t, "path")
             with open(p, "wb") as f:
-                f.write("a" * 4)
+                f.write(b"a" * 4)
             v = e.parseString("m<path")[0]
             assert v.values(s)
 
diff --git a/tox.ini b/tox.ini
index b01de12869..f94dfb4927 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ deps = -rrequirements.txt
 commands = py.test -n 8 --timeout 60 ./test
 
 [testenv:py35]
-commands = py.test -n 8 --timeout 60 test/netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py
+commands = py.test -n 8 --timeout 60 test/netlib test/mitmproxy/script test/pathod/test_utils.py test/pathod/test_log.py test/pathod/test_language_generators.py test/pathod/test_language_writer.py test/pathod/test_language_base.py
 
 [testenv:lint]
 deps = flake8
