Results for ysh-regex-api.test.sh

statusoshosh_ALT
pass 380
FAIL 038
total3838
caseoshosh_ALTdescription
0pass FAIL s ~ regex and s !~ regex
details
1pass FAIL Invalid regex has libc error message
details
2pass FAIL Eggex flags to ignore case are respected
details
3pass FAIL Eggex flags to treat newlines as special are respected
details
4pass FAIL Positional captures with _group
details
5pass FAIL _group() returns null when group doesn't match
details
6pass FAIL _start() and _end()
details
7pass FAIL Str->search() method returns value.Match object
details
8pass FAIL Str->search() only matches %start ^ when pos == 0
details
9pass FAIL search() and leftMatch() accept ERE string
details
10pass FAIL Str.leftMatch() can implement lexer pattern
details
11pass FAIL Named captures with m.group()
details
12pass FAIL Named captures with _group() _start() _end()
details
13pass FAIL Named Capture Decays Without Name
details
14pass FAIL Nested Named Capture Uses ( ordering
details
15pass FAIL Capture with Type Conversion Func
details
16pass FAIL Named Capture with Type Conversion Func
details
17pass FAIL Can't splice eggex with different flags
details
18pass FAIL Eggex with translation preference has arbitrary flags
details
19pass FAIL Invalid sh operation on eggex
details
20pass FAIL Long Python Example
details
21pass FAIL Regex in a loop (bug regression)
details
22pass FAIL Regex in a loop depending on var
details
23pass FAIL Regex with [ (bug regression)
details
24pass FAIL Str.replace(Str, Str)
details
25pass FAIL Str.replace(Eggex, Str)
details
26pass FAIL Str.replace(Eggex, Expr)
details
27pass FAIL Str.replace(*, Expr), $0
details
28pass FAIL Str.replace(Eggex, Expr), scopes
details
29pass FAIL Str.replace(Eggex, *, count)
details
30pass FAIL Str.replace(Str, Str), empty new/old strings
details
31pass FAIL Str.replace(Eggex, Lazy), convert_func
details
32pass FAIL Str.replace(Eggex, *), eflags
details
33pass FAIL Str.replace(Eggex, *), guard against infinite loop
details
34pass FAIL Str.replace(Eggex, *), str cannot contain NUL bytes
details
35pass FAIL Str.replace() at top level
details
36pass FAIL Str.replace() lexical scope with ^""
details
37pass FAIL Str.replace() lexical scope with ^[]
details
38 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_ALT0 s ~ regex and s !~ regex

[osh_ALT stdout] Expected "matches\n['foo', 'oo']\ndoes not match\n['foo', 'oo']\ngot expected status 3\ngot expected status 3\n" Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT1 Invalid regex has libc error message

[osh_ALT status] Expected 2, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT2 Eggex flags to ignore case are respected

[osh_ALT stdout] Expected 'yes\nyes\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT3 Eggex flags to treat newlines as special are respected

[osh_ALT stdout] Expected 'yes\nyes\nyes\nyes\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT4 Positional captures with _group

[osh_ALT stdout] Expected "['2020-08', '2020', '08']\n['2020-08', '2020', '08']\n['2020-08', '2020', '08']\n" Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT5 _group() returns null when group doesn't match

[osh_ALT stdout] Expected 'null b\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT6 _start() and _end()

[osh_ALT stdout] Expected 'start=3 end=6\n---\nstart=0 end=3\nstart=3 end=6\n---\nstart=0 end=3\nstart=-1 end=-1\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT7 Str->search() method returns value.Match object

[osh_ALT stdout] Expected 'g0 2 6 Hi5-\ng1 2 4 Hi\ng2 4 5 5\n---\ng0 7 12 Bye6-\ng1 7 10 Bye\ng2 10 11 6\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT8 Str->search() only matches %start ^ when pos == 0

[osh_ALT stdout] Expected 'pat=^([[:digit:]]+)-\n12-\npat=([[:digit:]]+)-\n12-\n34-\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT9 search() and leftMatch() accept ERE string

[osh_ALT stdout] Expected 'g0 2 6 hi5-\ng1 2 4 hi\ng2 4 5 5\n---\ng0 0 4 hi5-\ng1 0 2 hi\ng2 2 3 5\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT10 Str.leftMatch() can implement lexer pattern

[osh_ALT stdout] Expected 'pos=0\nnull/ab/null/\n\npos=2\nnull/null/ /\n\npos=3\n12/null/null/\n\npos=5\n===\npos=0\nnull/ab/null/\n\npos=2\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT11 Named captures with m.group()

[osh_ALT stdout] Expected "['2020', '08']\n3 7\n8 10\n", got ''
[osh_ALT status] Expected 3, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT12 Named captures with _group() _start() _end()

[osh_ALT stdout] Expected "['2020', '08']\n3 7\n8 10\n", got ''
[osh_ALT status] Expected 3, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT13 Named Capture Decays Without Name

[osh_ALT stdout] Expected '([[:digit:]]+)\nyes\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT14 Nested Named Capture Uses ( ordering

[osh_ALT stdout] Expected '0 when: 2023-10\n1 2023-10\n2 2023-10\n\nnull\n2023 10\nnull null null\n---\n0 when: 23:30\n1 23:30\n2 null\n\n23:30\nnull null\n23 30 null\n---\n0 when: 23:30:59\n1 23:30:59\n2 null\n\n23:30:59\nnull null\n23 30 59\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT15 Capture with Type Conversion Func

[osh_ALT stdout] Expected 'Int Float\nInt Float\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT16 Named Capture with Type Conversion Func

[osh_ALT stdout] Expected '-3.14\nInt Float\n-3.14\nInt Float\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT17 Can't splice eggex with different flags

[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT18 Eggex with translation preference has arbitrary flags

[osh_ALT stdout] Expected 'yes\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT19 Invalid sh operation on eggex

[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT20 Long Python Example

[osh_ALT stdout] Expected 'Y\nN\nY decimal\nN decimal\nY binary\nN binary\nY octal\nN octal\nY hex\nN hex\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT21 Regex in a loop (bug regression)

[osh_ALT stdout] Expected '1\n2\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT22 Regex in a loop depending on var

[osh_ALT stdout] Expected 'line foo\nmatched foo\nline bar\nmatched bar\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT23 Regex with [ (bug regression)

[osh_ALT stdout] Expected 'sq\nchar class\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT24 Str.replace(Str, Str)

[osh_ALT stdout] Expected 'AbcA\naBca\nabca\na\nnewanewbnewcnewanew\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT25 Str.replace(Eggex, Str)

[osh_ALT stdout] Expected 'mangled-kebab-case\nsmaller---to---bigger\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT26 Str.replace(Eggex, Expr)

[osh_ALT stdout] Expected "Hello Bob\nHello Bob (extracted from 'name: Bob')\n" Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT27 Str.replace(*, Expr), $0

[osh_ALT stdout] Expected 'class FooBar: # this class is called FooBar\nclass FooBar: # this class is called FooBar\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT28 Str.replace(Eggex, Expr), scopes

[osh_ALT stdout] Expected 'Hello 123 (surprise!)\nHello 123\nHello 123, 456\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT29 Str.replace(Eggex, *, count)

[osh_ALT stdout] Expected '1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n1abc2abc3abc\n1abc2abc3abc\n1abc2abc3abc\n1abc2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2abc3abc\n1-2-3abc\n1-2-3abc\n1-2-3abc\n1-2-3abc\n1-2-3-\n1-2-3-\n1-2-3-\n1-2-3-\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT30 Str.replace(Str, Str), empty new/old strings

[osh_ALT stdout] Expected 'a\nnewanewbnewcnewanew\nnewabca\nnewanewbnewcnewanew\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT31 Str.replace(Eggex, Lazy), convert_func

[osh_ALT stdout] Expected '124\n123\nstatus=3\n', got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT32 Str.replace(Eggex, *), eflags

[osh_ALT stdout] Expected '[1]-[2]-[3]\n[4]-[5]\n[1]-2-3\n4-5\n[1]-2-3\n[4]-5\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT33 Str.replace(Eggex, *), guard against infinite loop

[osh_ALT status] Expected 3, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT34 Str.replace(Eggex, *), str cannot contain NUL bytes

[osh_ALT status] Expected 3, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT35 Str.replace() at top level

[osh_ALT stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT36 Str.replace() lexical scope with ^""

[osh_ALT stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh_ALT37 Str.replace() lexical scope with ^[]

[osh_ALT stdout] Expected '<Expr>\nreplace my[x st t x]r\nmyreplace my[x st t x]r\n' Got ''
[osh_ALT status] Expected 0, got 1
[osh_ALT stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Could not import bin.oil
Traceback (most recent call last):
  File "/home/uke/oil/bin/oil.py", line 22, in <module>
    from _devbuild.gen import id_kind
  File "/home/uke/oil/_devbuild/gen/id_kind.py", line 2, in <module>
    from _devbuild.gen.id_kind_asdl import Id, Kind
  File "/home/uke/oil/_devbuild/gen/id_kind_asdl.py", line 1, in <module>
    from asdl import pybase
  File "/home/uke/oil/asdl/pybase.py", line 5, in <module>
    from mycpp import mylib
  File "/home/uke/oil/mycpp/mylib.py", line 17, in <module>
    from pylib import collections_
  File "/home/uke/oil/pylib/collections_.py", line 9, in <module>
    from typing import Any
  File "/home/uke/oil/vendor/typing.py", line 3, in <module>
    import abc
  File "/home/uke/tmp/Python-2.7.13/Lib/abc.py", line 6, in <module>
    import types
  File "/home/uke/tmp/Python-2.7.13/Lib/types.py", line 69, in <module>
    tb = sys.exc_info()[2]
AttributeError: 'module' object has no attribute 'exc_info'
FATAL: couldn't import from app bundle '/home/uke/oil/_tmp/oil-tar-test/oil-0.24.0/_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47