Skip to content

Commit d0fec0c

Browse files
authored
Merge pull request #8808 from bill88t/sysvers
Change sys.version to return the whole port identification.
2 parents 537775e + 0d55072 commit d0fec0c

10 files changed

+10
-10
lines changed

py/mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ typedef double mp_float_t;
18691869

18701870
// String used for the banner, and sys.version additional information
18711871
#ifndef MICROPY_BANNER_NAME_AND_VERSION
1872-
#define MICROPY_BANNER_NAME_AND_VERSION "MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE
1872+
#define MICROPY_BANNER_NAME_AND_VERSION "CircuitPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE
18731873
#endif
18741874

18751875
// String used for the second part of the banner, and sys.implementation._machine

tests/cmdline/repl_autocomplete.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # tests for autocompletion
44
>>> import sys

tests/cmdline/repl_autoindent.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # tests for autoindent
44
>>> if 1:

tests/cmdline/repl_basic.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # basic REPL tests
44
>>> print(1)

tests/cmdline/repl_cont.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # check REPL allows to continue input
44
>>> 1 \\\\

tests/cmdline/repl_emacs_keys.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # REPL tests of GNU-ish readline navigation
44
>>> # history buffer navigation

tests/cmdline/repl_inspect.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
test
2-
MicroPython \.\+ version
2+
CircuitPython \.\+ version
33
Use \.\+
44
>>> # cmdline: -i -c print("test")
55
>>> # -c option combined with -i option results in REPL

tests/cmdline/repl_micropyinspect.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # cmdline: cmdline/repl_micropyinspect
44
>>> # setting MICROPYINSPECT environment variable before program exit triggers REPL

tests/cmdline/repl_sys_ps1_ps2.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # test changing ps1/ps2
44
>>> import sys

tests/cmdline/repl_words_move.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MicroPython \.\+ version
1+
CircuitPython \.\+ version
22
Use \.\+
33
>>> # word movement
44
>>> # backward-word, start in word

0 commit comments

Comments
 (0)