Comments (2)
From what I can tell it is used by the old test harness. It can run all tests inside one Python process or spawn a new Python processes for each test.
Whenever cfv needs to be called it uses this wrapper script: https://github.com/cfv-project/cfv/blob/779d30f3aa0c6f4cb77b694823db64a0a89200af/test/cfv
It modifies the sys.path
variable, so that it executes the cfv version from the directory instead of running a system-wide installation:
Line 6 in 779d30f
According to the comment above the line you mentioned,
imp.load_source
is only used to ensue that sys.path
is modified:Line 204 in 779d30f
I am not really sure myself if this is still needed or was only required in older Python versions. At least the comment was added in 2006: 4cf1b20
from cfv.
Related Issues (20)
- Fix flake8 issues HOT 1
- Flake fails HOT 1
- Add Windows and macOS runners to CI pipeline
- Investigate and fix `bytes` to `str` conversation using `str()`
- Fix flake errors in python3 branch
- Investigate and fix deprecation warnings HOT 2
- Fix clipping of max open files in CI pipeline
- Add Windows support HOT 1
- Test suite expects `/data1` to not exists HOT 3
- Issue warnings when external verification tools are not installed
- Add macOS support HOT 1
- Add FreeBSD runner to CI pipeline HOT 1
- Bash cfv tool HOT 4
- Add support for BLAKE3 (b3sum files) HOT 2
- Distribute as AUR package HOT 5
- Static typing with e.g. mypy HOT 1
- Move man page to /usr/share/man HOT 6
- Module 'TERMIOS' not found HOT 2
- Windows no context switch to ignore symbolic and hard links HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfv.