Commit 019de554 authored by Alexander Alekhin's avatar Alexander Alekhin

python(test): don't write bytecode

Tests are usually lauched from source directory, so additional unnecessary
files should be eliminated.

Alternative ways (command line):
- python -B ...
- PYTHONDONTWRITEBYTECODE=1 python ...
parent 3ee8079f
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
from __future__ import print_function from __future__ import print_function
import sys
sys.dont_write_bytecode = True # Don't generate .pyc files / __pycache__ directories
import os import os
import unittest import unittest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment