Skip to content

Commit ba7f80f

Browse files
filmorvmuriart
authored andcommitted
Make internals (in particular Runtime.*) visible to the tests.
1 parent f4d83cf commit ba7f80f

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

src/runtime/assemblyinfo.cs

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Reflection;
33
using System.Resources;
44
using System.Runtime.InteropServices;
5+
using System.Runtime.CompilerServices;
56

67
[assembly: AssemblyProduct("Python for .NET")]
78
[assembly: AssemblyVersion("4.0.0.1")]
@@ -11,23 +12,4 @@
1112
[assembly: AssemblyCopyright("MIT License")]
1213
[assembly: AssemblyFileVersion("2.0.0.2")]
1314
[assembly: NeutralResourcesLanguage("en")]
14-
15-
#if PYTHON27
16-
[assembly: AssemblyTitle("Python.Runtime for Python 2.7")]
17-
[assembly: AssemblyDescription("Python Runtime for Python 2.7")]
18-
#elif PYTHON33
19-
[assembly: AssemblyTitle("Python.Runtime for Python 3.3")]
20-
[assembly: AssemblyDescription("Python Runtime for Python 3.3")]
21-
#elif PYTHON34
22-
[assembly: AssemblyTitle("Python.Runtime for Python 3.4")]
23-
[assembly: AssemblyDescription("Python Runtime for Python 3.4")]
24-
#elif PYTHON35
25-
[assembly: AssemblyTitle("Python.Runtime for Python 3.5")]
26-
[assembly: AssemblyDescription("Python Runtime for Python 3.5")]
27-
#elif PYTHON36
28-
[assembly: AssemblyTitle("Python.Runtime for Python 3.6")]
29-
[assembly: AssemblyDescription("Python Runtime for Python 3.6")]
30-
#elif PYTHON37
31-
[assembly: AssemblyTitle("Python.Runtime for Python 3.7")]
32-
[assembly: AssemblyDescription("Python Runtime for Python 3.7")]
33-
#endif
15+
[assembly: InternalsVisibleTo("Python.EmbeddingTest")]

0 commit comments

Comments
 (0)