06a7794e2b0cecfbb50f818df3c2bd585c1f35de,tests/test_bokehjs.py,TestBokehJS,test_bokehjs,#TestBokehJS#,13
Before Change
os.chdir("bokehjs")
proc = subprocess.Popen([join("node_modules", ".bin", "gulp"), "test"],
stdout=subprocess.PIPE)
result = proc.wait()
msg = proc.stdout.read().decode("utf-8", errors="ignore")
print(msg)
if result != 0:
assert False
After Change
def test_bokehjs(self):
os.chdir("bokehjs")
proc = subprocess.Popen([join("node_modules", ".bin", GULP), "test"],
stdout=subprocess.PIPE)
out, errs = proc.communicate()
msg = out.decode("utf-8", errors="ignore")
print(msg)
if proc.returncode != 0:
assert False
if __name__ == "__main__":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: bokeh/bokeh
Commit Name: 06a7794e2b0cecfbb50f818df3c2bd585c1f35de
Time: 2016-07-05
Author: bryanv@continuum.io
File Name: tests/test_bokehjs.py
Class Name: TestBokehJS
Method Name: test_bokehjs
Project Name: pantsbuild/pants
Commit Name: ca40e28b75a412bb3d8a6899489c5672782d08d5
Time: 2014-07-28
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/tasks/test_jvm_bundle_integration.py
Class Name: BundleIntegrationTest
Method Name: test_bundle_of_nonascii_classes
Project Name: bokeh/bokeh
Commit Name: 8451d9c3690f1d47adcb929771b4ce37ea2c3e0d
Time: 2017-09-01
Author: mattpap@gmail.com
File Name: bokeh/util/compiler.py
Class Name:
Method Name: _detect_nodejs