Permalink
Browse files

Remove filename behavior as it was unnescesary (and not working)

  • Loading branch information...
1 parent 1823571 commit dd95fe7185abafaf2f5bc3a1a026f05398873654 @dcramer committed Feb 4, 2012
Showing with 1 addition and 4 deletions.
  1. +0 −3 nose_json/plugin.py
  2. +1 −1 setup.py
View
@@ -81,7 +81,6 @@ def addError(self, test, err, capt=None):
self.results.append({
'classname': id_split(id)[0],
'name': id_split(id)[-1],
- 'filename': inspect.getfile(test),
'time': taken,
'type': type,
'errtype': nice_classname(err[0]),
@@ -97,7 +96,6 @@ def addFailure(self, test, err, capt=None, tb_info=None):
self.results.append({
'classname': id_split(id)[0],
'name': id_split(id)[-1],
- 'filename': inspect.getfile(test),
'time': taken,
'type': 'failure',
'errtype': nice_classname(err[0]),
@@ -112,7 +110,6 @@ def addSuccess(self, test, capt=None):
self.results.append({
'classname': id_split(id)[0],
'name': id_split(id)[-1],
- 'filename': inspect.getfile(test),
'time': taken,
'type': 'success',
})
View
@@ -7,7 +7,7 @@
setup(
name='nose-json',
- version='0.2.0',
+ version='0.2.1',
author='David Cramer',
author_email='dcramer@gmail.com',
description='A JSON report plugin for Nose.',

0 comments on commit dd95fe7

Please sign in to comment.