Skip to content

Commit 07e4b73

Browse files
committed
Fix test
1 parent 82edabe commit 07e4b73

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_python_bindings.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@
1313
import sys
1414
import unittest
1515

16-
# Add the package to the path for development
17-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
18-
1916
try:
2017
import pytorch_tokenizers
2118
except ImportError as e:
2219
print(f"Failed to import pytorch_tokenizers: {e}")
23-
print("Make sure the package is built with: python setup.py build_ext --inplace")
20+
print("Make sure the package is installed with: pip install .")
2421
sys.exit(1)
2522

2623

0 commit comments

Comments
 (0)