4682eeff2fcd01e7c56684e3d2b9e5f8ef37b26f,compiler/quilt/test/test_import.py,ImportTest,test_multiple_package_dirs,#ImportTest#,168
Before Change
// Third level: empty package directory
os.mkdir("bbb")
os.chdir("bbb")
os.mkdir(PACKAGE_DIR_NAME)
// Imports should find the second package
from quilt.data.foo.nested import dataframes
After Change
// Now search the new build dir.
dirs = "foo/%s:%s" % (PACKAGE_DIR_NAME, new_build_dir)
with patch.dict(os.environ, {"QUILT_PACKAGE_DIRS": dirs}):
// Can import the second package now.
from quilt.data.foo import multiple2
// The first package contains data from the default dir.
from quilt.data.foo import multiple1
assert multiple1.dataframes
def test_save(self):
mydir = os.path.dirname(__file__)
build_path = os.path.join(mydir, "./build.yml")
command.build("foo/package1", build_path)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: quiltdata/quilt
Commit Name: 4682eeff2fcd01e7c56684e3d2b9e5f8ef37b26f
Time: 2018-01-17
Author: dima@gmail.com
File Name: compiler/quilt/test/test_import.py
Class Name: ImportTest
Method Name: test_multiple_package_dirs
Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/integration/build_ignore_integration_test.py
Class Name: BuildIgnoreIntegrationTest
Method Name: test_build_ignore_dependency
Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/run_python_binary_integration_test.py
Class Name: RunPythonBinaryIntegrationTest
Method Name: test_sample_script
Project Name: vatlab/SoS
Commit Name: dc3a126f534509225b9dad623cee923d29f9b982
Time: 2016-10-18
Author: ben.bog@gmail.com
File Name: pysos/utils.py
Class Name: RuntimeEnvironments
Method Name: reset