added Japanese translation for 2.2.4 (79a5b776a6f3)

This commit is contained in:
t2y
2012-06-06 08:58:02 +09:00
parent b4c2161e35
commit 03a814a859
97 changed files with 10213 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import sys
import pytest
py3 = sys.version_info[0] >= 3
class DummyCollector(pytest.collect.File):
def collect(self):
return []
def pytest_pycollect_makemodule(path, parent):
bn = path.basename
if "py3" in bn and not py3 or ("py2" in bn and py3):
return DummyCollector(path, parent=parent)
+7
View File
@@ -0,0 +1,7 @@
def test_exception_syntax():
try:
0/0
except ZeroDivisionError, e:
assert 0, e
+7
View File
@@ -0,0 +1,7 @@
def test_exception_syntax():
try:
0/0
except ZeroDivisionError as e:
assert 0, e