summaryrefslogtreecommitdiff
path: root/python/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-05-26 19:14:40 +0200
committerJose <jose@zeroc.com>2017-05-26 19:14:40 +0200
commitc7f1b31bf2c9a0968745b30df7665ce1c36216fb (patch)
tree59cec554143bb8522b0a90db9cca3c3ef3a91541 /python/test
parentICE-7905 - more fixes for deprecated types (diff)
downloadice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.tar.bz2
ice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.tar.xz
ice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.zip
Fix (ICE-7923) - suppress deprecation warnings
Diffstat (limited to 'python/test')
-rw-r--r--python/test/Ice/operations/Test.ice4
-rw-r--r--python/test/Ice/optional/Test.ice2
-rw-r--r--python/test/Slice/escape/Key.ice2
3 files changed, 6 insertions, 2 deletions
diff --git a/python/test/Ice/operations/Test.ice b/python/test/Ice/operations/Test.ice
index 4697fea8715..ad12e426866 100644
--- a/python/test/Ice/operations/Test.ice
+++ b/python/test/Ice/operations/Test.ice
@@ -263,14 +263,14 @@ interface MyClass
struct MyStruct1
{
string tesT; // Same name as the enclosing module
- MyClass myClass; // Same name as an already defined class
+ MyClass* myClass; // Same name as an already defined class
string myStruct1; // Same name as the enclosing struct
}
class MyClass1
{
string tesT; // Same name as the enclosing module
- MyClass myClass; // Same name as an already defined class
+ MyClass* myClass; // Same name as an already defined class
string myClass1; // Same name as the enclosing class
}
diff --git a/python/test/Ice/optional/Test.ice b/python/test/Ice/optional/Test.ice
index 9e230aa3b16..948a4666e2f 100644
--- a/python/test/Ice/optional/Test.ice
+++ b/python/test/Ice/optional/Test.ice
@@ -9,6 +9,8 @@
#pragma once
+[["suppress-warning:deprecated"]]
+
module Test
{
diff --git a/python/test/Slice/escape/Key.ice b/python/test/Slice/escape/Key.ice
index 3b5f2a6d4f6..19262c44794 100644
--- a/python/test/Slice/escape/Key.ice
+++ b/python/test/Slice/escape/Key.ice
@@ -7,6 +7,8 @@
//
// **********************************************************************
+[["suppress-warning:deprecated"]]
+
module and
{
enum assert